$('.prodetail').click(function(){
	var id = $(this).attr('data-id');
    var index = layer.load(0, {shade: false});
	// alert(id);
	location.href = '?r=market/project/detail&id='+id;
});

$('.actdetail').click(function(){
	var id = $(this).parent().attr('data-id'),
		name = $(this).parent().attr('data-name');
    var index = layer.load(0, {shade: false});
	// alert(id);
	location.href = '?r=market/project/act-list&id='+id+'&name='+name;
})

$('.activity_detail').click(function(){
	var id = $(this).attr('data-id');
	window.open('?r=market/project/act-detail&id='+id);
});

$('.edit').click(function(){
	var id = $(this).attr('data-id');
	location.href = '?r=market/project/edit&id='+id;
})